//
//  HMTestViewController.swift
//  Weibo
//
//  Created by 吴少飞 on 16/9/19.
//  Copyright © 2016年 wushaofei. All rights reserved.
//

import UIKit

class HMTestViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        view.backgroundColor = UIColor.magenta
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "push", imageName: nil, target: self, action: #selector(pushAction))
    }

    
    func pushAction(){
        
        let textVC = HMTestViewController()
        
        navigationController?.pushViewController(textVC, animated: true)
        
        
    }
    
}
